﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class1
    {
       public int gonghao { get; set; }
       public string name { get; set; }
       public string section { get; set; }

        public Class1()
        {

        }
        public Class1(int gonghao,string name,string section) 
        {
            this.gonghao = gonghao;
            this.name = name;
            this.section = section;
        }
        public void Input()
        {
            Console.WriteLine("员工的工号:{0}，姓名:{1}，部门信息:{2}",this.gonghao, this.name, this.section);
        }
    }
}
